package com.oig.auth.api.fallback;

import com.oig.auth.api.PermissionService;
import com.oig.sys.auth.vo.PermissionVo;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;

import java.util.List;


@Slf4j
public class PermissionServiceFallbackImpl implements PermissionService {
    @Setter
    private Throwable cause;


    @Override
    public List<PermissionVo> loadPermissionByUserId(Integer userId) {
        log.error("feign loadPermissionByUserId error ", cause);
        return null;
    }
}
